For editing .lua files use notepad.

Recommended notepad++ :

https://notepad-plus-plus.org/